package com.djhu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableEurekaClient // 客户端启动
@EnableFeignClients(basePackages={"com"})
@ComponentScan("com")
public class ConsumerFeignStart {
	
	public static void main(String[] args) {
		SpringApplication.run(ConsumerFeignStart.class);
	}

}
